home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dblastrow.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                DBLASTROW
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBLASTROW
  6.  
  7.   FUNCTION:
  8.        Return the number of the last row in the row buffer.
  9.  
  10.   SYNTAX:
  11.        DBINT DBLASTROW(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This macro returns the number  of  the  last  row  in  the  row
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBLASTROW               Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          buffer.  Rows are counted from  the  first  row  returned  from
  27.          SQL Server,  whose number is 1, and not from the top of the row
  28.          buffer.
  29.  
  30.        o If you aren't buffering  rows,  DBFIRSTROW(),  DBCURROW(),  and
  31.          DBLASTROW()  will  always  have  the  same  value.  If you have
  32.          enabled buffering by setting the DBBUFFER  option,  DBLASTROW()
  33.          will  return  the number of the row that is the last row in the
  34.          row buffer.
  35.  
  36.   PARAMETERS:
  37.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  38.            connection for a particular front-end/SQL Server process.  It
  39.            contains all the information that DB-Library uses  to  manage
  40.            communications and data between the front end and SQL Server.
  41.  
  42.   RETURNS:
  43.        The number of the last row  in  the  row  buffer.   This  routine
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                DBLASTROW
  47.   ______________________________________________________________________
  48.        returns 0 if there's an error.
  49.  
  50.   SEE ALSO:
  51.        dbclrbuf, DBCURROW, DBFIRSTROW,  dbgetrow,  dbnextrow,  dbsetopt,
  52.        options
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.